package cn.xxy.result;

import cn.xxy.RowProcessor;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Map;

/**
 * @author xxy
 * @date 2021/7/29
 */
public class MapListHandler extends AbstractListHandler<Map<String, Object>> {

    @Override
    public Map<String, Object> handleRow(ResultSet rs) throws SQLException{
        return RowProcessor.toMap(rs);
    }
}
